package com.wx.tnsadmin.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.security.core.GrantedAuthority;

import java.io.Serializable;
import java.util.List;

/**
 * @Author:LLH
 * @Date:2020/8/10
 */

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@ApiModel
public class UmsAuthModel {

    @ApiModelProperty(value = "权限ID")
    private Integer id;

    @ApiModelProperty(value = "父级权限ID")
    private Integer auth_pid;

    @ApiModelProperty(value = "权限名称")
    private String auth_name;

    @ApiModelProperty(value = "权限路径")
    private String auth_url;

    @ApiModelProperty(value = "权限值")
    private String auth_value;

    @ApiModelProperty(value = "权限状态")
    private Integer auth_status;

    @ApiModelProperty(value = "权限描述")
    private String auth_desc;

    @ApiModelProperty(value = "权限备注")
    private String auth_remark;

    @ApiModelProperty(value = "权限类型  0->目录；1->菜单；2->按钮")
    private Integer auth_type;

}
